﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainMasterPage.master" AutoEventWireup="true"
    CodeFile="CheckRegister.aspx.cs" Inherits="Modeling_Sub_Pages_NewsPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        #main
        {
            min-width: 1050px;
        }
        #center1
        {
            width: 1060px;
            min-height: 500px;
            padding-top: 15px;
            margin-right: auto;
            margin-left: auto;
        }
        #center
        {
            width: 800px;     
        }
        .toCenter
        {
           margin-left:auto;
           margin-right:auto;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <div id="center1">
        <div id="left">
            <table>
                <tr>
                    <td>
                        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Apply/Register.aspx"
                            CssClass="LinkStyle1">Register</asp:HyperLink>
                    </td>
                </tr>
                <tr>
                    <td id="activeTD">
                        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/Apply/CheckRegister.aspx"
                            CssClass="activeLink">Check Registration</asp:HyperLink>
                    </td>
                </tr>
            </table>
        </div>
        <div id="center">
            <table class="toCenter">
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="Your code: " Font-Bold="True"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtID" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="Check" onclick="Button1_Click" ValidationGroup="check" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label2" runat="server" Text="Status: " Font-Bold="True"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="lblStatus" runat="server" Text=""></asp:Label>
                    </td>
                    <td>
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Label ID="lblError" runat="server" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Please! Input your code!" ControlToValidate="txtID" ValidationGroup="check"></asp:RequiredFieldValidator>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>
